<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <%-- IF IE --%>
  <jsp:include page="${pageContext.request.contextPath}/jsp/home/common/if_ie.jsp"></jsp:include>

  <!-- charset -->
  <meta charset="utf-8">

  <!--title-->
  <title>经纪人地图</title>

  <!-- Mobile Meta -->
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1,minimum-scale=1, user-scalable=no">

  <!-- Favicon -->
  <link rel="shortcut icon" href="${pageContext.request.contextPath}/resources/app/images/img/logo/favicon.ico">

  <!-- Bootstrap core CSS -->
  <link href="${pageContext.request.contextPath}/resources/libs/css/bootstrap/css/bootstrap.min.css" rel="stylesheet">

  <!-- JuCaiBang core CSS file -->
  <link href="${pageContext.request.contextPath}/resources/app/css/home/jcb.css" rel="stylesheet">

  <!-- hh css -->
  <link href="${pageContext.request.contextPath}/resources/app/css/home/hh.css" rel="stylesheet">
</head>
<body>
<!-- navbar -->
<jsp:include page="${pageContext.request.contextPath}/jsp/home/common/nav_nonsearch.jsp"></jsp:include>

<div class="agMap-control">
  <div id="allmap" class="col-md-12"></div>
</div>

<div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3 agMap-user-control-center">

  <div class="dropdown list-width">
    <button class="btn btn-default agMap-btn-style" type="button" id="agName">姓名</button>
  </div>
  <div class="dropdown list-width">
    <button class="btn btn-default agMap-btn-style" type="button" id="agPro">专业领域</button>
  </div>
  <div class="dropdown list-width">
    <button class="btn btn-default dropdown-toggles agMap-btn-style" type="button" id="agRank">专业等级
      <%--<span class="glyphicon glyphicon-chevron-down pull-right arrow"></span>--%>
    </button>
  </div>

</div>
<!-- user信息 -->
<div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3 container">
    <div class="row" id="user_content"></div>
</div>
<!--分页操作-->
<div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
 <div class="agMap-paging" id="agMap-paging"></div>
</div>


<!-- 客服 -->
<jsp:include page="${pageContext.request.contextPath}/jsp/home/common/customerSupport.jsp"></jsp:include>

<!-- JavaScript files placed at the end of the document so the pages load faster
		==================================================================================== -->
<!-- Jquery and Bootstap core js files -->
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/jsrender.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/app/js/home/jcb.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/app/js/home/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/app/js/home/agentMap.js"></script>


<!-- 用户信息模板 -->

<script id="userTemp" type="text/x-jsrender">
   {{!-- 用户信息块 --}}
   {{for data}}

      <div class="agMap-userMes clearFloat" data-agentuserid = {{:loginUserAgentUserInstanceInstance.loginUserId}}>
        {{!-- 用户头像和姓名 --}}
        <div class="user-base">
           {{if loginUserAgentUserInstanceInstance.userImage}}
             <img src="{{:loginUserAgentUserInstanceInstance.userImage}}" class="agMap-user-image image-circle"/>
           {{else}}
             <img src="http://c.hiphotos.baidu.com/image/w%3D310/sign=c95e391669600c33f079d8c92a4c5134/d1a20cf431adcbefd4348404aeaf2edda3cc9fb4.jpg" style='width:45px;' class="user-image image-circle"/>
           {{/if}}
           <div class="agMap-user-name">{{:loginUserAgentUserInstanceInstance.userNickName}}</div>
        </div>
        {{!-- 用户领域 --}}
        <div class="user-area" style="text-indent:-5%;">{{:agentSpeciality}}</div>
        {{!-- 用户级别 --}}
        <div class="user-rank">
           {{showStars agentRank /}}
        </div>
      </div>

   {{/for}}
</script>

</body>
</html>


